package com.brush.brushcommon.common.basic.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.brush.brushcommon.common.BasicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户题库
 * </p>
 *
 * @author debug
 * @since 2024-07-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_user_question_bank")
@Schema(name = "UserQuestionBank对象", description = "用户题库")
public class UserQuestionBank extends BasicEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "题库名称")
    private String userQuestionBankName;

    @Schema(description = "题目数量")
    private Long userQuestionNumber;

    @Schema(description = "分享链接")
    private String userQuestionBankUrl;

    @Schema(description = "用户可以自己设置密码，通过密码才能进入刷题")
    private String userQuestionPwd;

    @Schema(description = "是否公开")
    private Boolean isShow;

    @Schema(description = "创建人")
    private String gmtFounder;
}
